﻿using PhantomRealm.Common.Utilities;
using Terraria;
using Terraria.ModLoader;

namespace PhantomRealm.Content.SceneEffects
{
    public class AuroraScene : ModSceneEffect
    {
        public override int Music => MusicLoader.GetMusicSlot(Mod, "Assets/Music/Aurora");
        public override SceneEffectPriority Priority => SceneEffectPriority.Environment;
        public override bool IsSceneEffectActive(Player player)
        {
            return player.ZoneAurora() && player.ZoneSnow() && player.ZoneSurface() && player.IsNight();
        }
    }
}

